import "amfe-flexible";
import Vue from 'vue'
import App from './App'
import router from './router'
import service from './service/_'
import utils from './utils'
import config from './config'

config.vueComponents.forEach(v => Vue.component(v.name, v))
config.vuePlugs.forEach(v => Vue.use(v))

Vue.prototype.$http = service;
Vue.prototype.$utils = utils;

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
